WP_Defender\Controller\Scan D

Total Complexity 126
Dependencies 20
Dependents 9
Total lines 1,050
Lines of code 706
Logical lines of code 297
Comment lines 230
Methods 29
Properties 4

Methods 29

Method Rating Maintainability Complexity Lines of code
bulk_action()
B
37 17 74
item_action()
A
38 14 75
save_settings()
A
39 12 67
data_frontend()
A
38 11 66
item_action_analytics()
A
45 9 43
__construct()
S
46 6 39
export_strings()
S
51 6 26
config_strings()
S
54 6 21
status()
S
55 5 21
enqueue_assets()
S
43 2 60
to_array()
S
56 4 19
get_issues()
S
47 2 43
start()
S
52 3 27
process()
S
58 3 17
import_data()
S
58 3 16
is_any_active()
S
65 4 9
cancel()
S
59 3 14
nopriv_heartbeat()
S
65 3 9
scan_completed_analytics()
S
62 2 11
clear_scan_logs()
S
67 2 7
remove_data()
S
81 1 3
remove_settings()
S
79 1 3
clean_up_data()
S
82 1 3
refuse_notice()
S
76 1 4
postpone_notice()
S
76 1 4
do_async_scan()
S
66 1 10
handle_notice()
S
76 1 4
scan_started_analytics()
S
67 1 8
main_view()
S
81 1 3